<HR style="margin:0;"/>
<div class="bjui-pageHeader" style="height:30px;">
	<form id="pagerForm" data-toggle="ajaxsearch" 
		action="weixin/basedata/appConfigMgr?action=mgr" method="post">
		<input type="hidden" name="pageSize" value="${pager.pageSize}">
		<input type="hidden" name="pageCurrent" value="${pager.pageCurrent}">
		<input type="hidden" name="orderField" value="${pager.orderField}">
		<input type="hidden" name="orderDirection" value="${pager.orderDirection}">
		<div class="bjui-searchBar">
			<label>公众号名：</label>
			<input type="text" id="name" value="${pager.params.name!''}" name="name"
				class="form-control" size="10">
			<button type="submit" class="btn-default" data-icon="search">查询</button>
			&nbsp;
			<button id="queryBtn" type="button" class="btn-orange" data-toggle="reloadsearch"
				data-clear-query="true">清空查询</button>
		</div>
	</form>
</div>
<div class="tableContent" style="height:88%;width:100%" >
	<table style="height:100%" data-width="100%" class="table table-bordered">
		<thead>
			<tr>
				<th width="50" align="center">No.</th>
				<th data-order-field="name" align="center">公众号名</th>
			</tr>
		</thead>
		<tbody>
			<#list pager.pageData.list as u>
			<tr onclick="showAppConfig(${u.id})" data-id="${u.appId}">
				<td align="center">${u_index+1}</td>
				<td>${u.name}</td>
			</tr>
			</#list>
			<tr  height="100%;"><td colspan="3">&nbsp;</td></tr>
		</tbody>
		<tfoot>
			<tr>
				<td colspan="3" height="30px" style="padding:0">
				<div class="bjui-pageFooter" style="position:relative;">
					<div class="pagination-box" data-toggle="pagination" data-total="${pager.pageData.total}"
						data-page-size="${pager.pageSize}" data-page-current="1"></div>
				</div>
				
				</td>
			</tr>
		</tfoot>		
	</table>
</div>
<script>
function refreshData(json){
	//触发查询按钮
	if(json.statusCode=="200"){
		$.CurrentNavtab.find("#queryBtn").click();
	}
}
</script>
